package com.woniuxy02;

import java.math.BigDecimal;

/**
 * @author 作者
 * @create 2025-06-04 11:05
 */
public class Test08 {
    public static void main(String[] args)  {
        String str="abcdefabcdef";
        System.out.println(str.replace('a','x'));
        System.out.println(str.replace("abc","xyz"));
        System.out.println("     aaaaaa    ");
        System.out.println("     aaaaaa    ".trim());
        System.out.println("abc".compareTo("ABC"));
        System.out.println("abc".compareToIgnoreCase("ABC"));


    }

}
